package com.chenxin.wms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.chenxin.common.core.domain.WmsBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 货位资料对象 wms_location
 *
 * @author gry
 * @date 2025-04-14
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("wms_location")
public class LocationEntity extends WmsBaseEntity {
    /**
     * 货位id
     */
    @TableId(type = IdType.AUTO)
    private Long locationId;

    /**
     * 货位编号
     */
    private String locationNo;

    /**
     * 设备编号
     */
    private String dvcNo;

    /**
     * 货位视觉
     */
    private String locationVr;

    /**
     * 货位类型
     */
    private String locationType;

    /**
     * 巷道号
     */
    private Integer laneNum;

    /**
     * 排
     */
    private Integer rowNum;

    /**
     * 列
     */
    private Integer columnNum;

    /**
     * 层
     */
    private Integer levelNum;

    /**
     * 是否混载
     */
    private String isMixed;

    /**
     * 货位高度
     */
    private String highLevel;

    /**
     * 货位位置
     */
    private String locationSide;

    /**
     * 状态
     */
    private Integer locationStatus;

    /**
     * 容器编号
     */
    private String contNo;

    /**
     * 是否禁用
     */
    private Integer isActive;

    /**
     * 所属库区
     */
    private Long zoneId;

    /**
     * 乐观锁
     */
    @Version
    private Long version;
}
